package com.zhifei.web.controller.ones;

import com.zhifei.common.utils.Result;
import com.zhifei.system.service.HlyService;
import com.zhifei.system.service.OnesService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ones")
@Api(tags="ONES接口管理")
public class OnesController {

    @Autowired
    private OnesService onesService;

    @GetMapping("/listProject")
    @ApiOperation("项目列表")
    public Result listProject(){
        return onesService.listProject();
    }

}


